﻿namespace PoemGame.Query
{
    /// <summary>
    /// 玩家相关查询的结果
    /// </summary>
    public class PlayerRes
    {
        public PlayerRes()
        {

        }
        public PlayerRes(Guid id, string userName, string nickName, int score, bool isBlocked)
        {
            Id = id;
            UserName = userName;
            NickName = nickName;
            Score = score;
            IsBlocked = isBlocked;
        }

        /// <summary>
        /// 玩家Id
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get;  set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get;  set; }
        /// <summary>
        /// 积分
        /// </summary>
        public int Score { get;  set; }
        /// <summary>
        /// 是否被锁定
        /// </summary>
        public bool IsBlocked { get; set; }
    }
}
